﻿using System;
using System.Collections.Generic;
using System.Net.Http;
using System.Text;

namespace Xejen.Communication.Http.Abstract
{
    /// <summary>
    /// 表示Http的<see langword="ContentType"/>内容策略
    /// </summary>
    /// <creator>marc</creator>
    internal interface IHttpContentStrategy
    {
        /// <summary>
        /// 创建HttpContent对象
        /// </summary>
        /// <param name="data">HttpContent对象中的数据</param>
        /// <returns></returns>
        HttpContent CreateHttpContent(object data);
    }
}
